package cn.kust.tarvelService.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.kust.tarvelService.pojo.ArticleComment;
import cn.kust.tarvelService.pojo.vo.commentVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 评论管理表 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-07-26
 */
@Mapper
@Repository
public interface ArticleCommentMapper extends BaseMapper<ArticleComment> {

    List<commentVo> getCommentByArticleId(Long articleID);

    List<commentVo>  getCommentByParentId(Long parentId);
}
